package com.example.security.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @application:
 * @author: LiYuhang
 * @Date: 2021/5/29 20:21
 * @version: 0.1
 * @Description :
 * @Modified By:
 */
@RestController
@RequestMapping("/")
public class IndexController {


    @RequestMapping()
    public String index(){
        return " welcome index";
    }

    @RequestMapping(value = "hello")
    public String hello(){
        return " hello hello hello hello hello ";
    }
}
